package com.koron.order.linepatrol.satellite.bean.excel;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.order.linepatrol.satellite.excel.LinePatrolSatelliteSSConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName: LinePerambulateExcel
 * @Description:
 * @Date: 2023/1/31
 * @Author: 李一辰
 * @Version: 1.0
 **/
@Data
@ExcelIgnoreUnannotated
public class LinePatrolSatelliteExcel {

    @ExcelProperty(value = "线路名称",index = 0)
    @ApiModelProperty("线路名称")
    private String equipmentName;

    @ExcelProperty(value = "最近杆塔编号",index = 1)
    @ApiModelProperty("最近杆塔编号")
    private String towerNumber;

    @ExcelProperty(value = "风险等级",index = 2,converter = LinePatrolSatelliteSSConverter.class)
    @ApiModelProperty("风险等级")
    private String riskLevel;

    @ExcelProperty(value = "最近距离线路",index = 3)
    @ApiModelProperty("最近距离线路")
    private String closestDistanceLine;

    @ExcelProperty(value = "最近距离杆塔",index = 4)
    @ApiModelProperty("最近距离杆塔")
    private String closestDistanceTower;

    @ExcelProperty(value = "风险子类",index = 5)
    @ApiModelProperty("风险子类")
    private String riskSub;

    @ExcelProperty(value = "风险关键字",index = 6)
    @ApiModelProperty("风险关键字")
    private String riskKeyword;

    @ExcelProperty(value = "经度",index = 7)
    @ApiModelProperty("经度")
    private String longitude;

    @ExcelProperty(value = "纬度",index = 8)
    @ApiModelProperty("纬度")
    private String latitude;

    @ExcelProperty(value = "备注",index = 9)
    @ApiModelProperty("备注")
    private String remark;

}
